﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using System.Windows.Navigation;
using System.ComponentModel;
using OnlineVideos.UI;
using Common.Library;
using OnlineVideos;

using OnlineVideos.Utilities;
using Common.Utilities;

namespace OnlineMovies.Views
{
    public partial class MoviesHistory : PhoneApplicationPage
    {
        
        string pivotimage = string.Empty;
        public MoviesHistory()
        {
            InitializeComponent();
        }
        private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
        {
            
               
        }
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            ////YouTube.CancelPlay();
        }

        protected override void OnBackKeyPress(CancelEventArgs e)
        {
            //if (YouTube.CancelPlay())
            //    e.Cancel = true;

            base.OnBackKeyPress(e);
        }
        private void imgTitle_MouseEnter(object sender, MouseEventArgs e)
        {
            NavigationService.Navigate(NavigationHelper.MainPanoramaPage);
        }
    }
}